<!DOCTYPE html>
<html>
    <head>
        <meta charset="utf-8">
        <title>用户列表</title>
        <meta name="renderer" content="webkit">
        <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
        <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
        <meta name="apple-mobile-web-app-status-bar-style" content="black">
        <meta name="apple-mobile-web-app-capable" content="yes">
        <meta name="format-detection" content="telephone=no">
        <link rel="stylesheet" href="__PUBLIC__/X-admin/css/x-admin.css" media="all">
        <style type="text/css">
            th{
                background-color:#F2F2F2;
            }
        </style>
    </head>
    <body>
        <div class="x-nav">
            <a class="layui-btn layui-btn-small" style="line-height:1.6em;margin-top:3px;float:right" href="javascript:location.replace(location.href);" title="刷新"><i class="layui-icon" style="line-height:29px">ဂ</i> <i class="layui-icon" style="line-height:30px">刷新</i></a>
        </div>
        <div class="x-body">
            <div style="font-size:20px;">
                <span>班级:</span><b>{$class[0]['name']}</b>
            </div><hr>
           	
           	<table class="layui-table">
                <thead>
                    <tr>
                        
                        <th>姓名</th>
                        <th>手机</th>
                        <th>邮箱</th>
                        <th>QQ</th>
                        
                    </tr>
                </thead>
                <tbody>
                    <foreach name="list" item="row" >
                        <tr>
                            <td>{$row['name']}</td>
                            <td>{$row['phone']}</td>
                            <td>{$row['email']}</td>
                            <td>{$row['qq']}</td>
                            
                        </tr>
                    </foreach>
                </tbody>
            </table> 
           
                <a class="layui-btn layui-btn-small" href="__URL__/Excel">导出表格</a>
                
           
        </div>
        <script src="__PUBLIC__/X-admin/lib/layui/layui.js" charset="utf-8"></script>
        <script src="__PUBLIC__/X-admin/js/x-layui.js" charset="utf-8"></script>
        <script>
            layui.use(['laydate','element','laypage','layer','form'], function(){
                $ = layui.jquery;//jquery
              lement = layui.element();//面包导航
              laypage = layui.laypage;//分页
              layer = layui.layer;//弹出层
              var form = layui.form(); //只有执行了这一步，部分表单元素才会修饰成功


              
            
              
            });

            </script>
            <script>
        </script>
    </body>
</html>